using System;

namespace MonoDevelop.ResourceEditor
{
	/// <summary>Defines the properties and methods for the ResourceEventArgs class.</summary>
	public class ResourceEventArgs
	{
		#region Properties
		// <summary>Gets or sets the name for the resource item.</summary>
		/// <value>A string containing the name of the resource item.</value>
		public string ResourceName
		{
			get { return resourceName; }
			set { resourceName = value; }
		}
		
		/// <summary>Gets or sets the value of the resource item.</summary>
		/// <value>An object containing the value for the resource item.</value>
		public object ResourceValue
		{
			get { return resourceValue; }
			set { resourceValue = value; }
		}
		#endregion
		
		#region Member Variables
		/// <summary>Holds the value of the ResourceName property.</summary>
		string resourceName;
		/// <summary>Holds the value of the ResourceValue property.</summary>
		object resourceValue;
		#endregion
		
		/// <summary>Initializes a new instance of the ResourceEventArgs class by specifying the name and the value for the resource.</summary>
		public ResourceEventArgs(string resourceName, object resourceValue)
		{
			this.resourceName = resourceName;
			this.resourceValue = resourceValue;
		}
		
		
	}
	
}
